﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreRay
{
    public abstract class RenderAccelerator
    {
        public abstract string Name
        {
            get;
        }

        public abstract void InitScene(Scene scene);
        public abstract IEnumerable<Intersection> FindPrimaryIntersections(Scene scene, RenderRegion renderRegion);

        public override string ToString()
        {
            return this.Name;
        }
    }
}
